<%--
  Created by IntelliJ IDEA.
  User: yq
  Date: 2022/4/21
  Time: 14:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>展示账户信息</title>
    <link href="${pageContext.request.contextPath}/css/accountList.css" rel="stylesheet">
</head>
<body>
展示账户信息
${account.id}-----${account.name}-----${account.money}
<hr>
<table align="center" width="500px" border="1" cellspacing="1" cellpadding="10">
    <tr>
        <th>编号</th>
        <th>名称</th>
        <th>金额</th>
    </tr>
    <c:forEach items="${list}" var="account" varStatus="vs">
        <tr>
            <td>${vs.count}</td>
            <td>${account.name}</td>
            <td>${account.money}</td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
